FromAsync Method

Task Parallel System.Threading

Overload List

  NameDescription
FromAsync(IAsyncResult, Func<(Of <(IAsyncResult, TResult>)>))
Creates a Task that executes an end method function when a specified IAsyncResult completes.
FromAsync(Func<(Of <(AsyncCallback, Object, IAsyncResult>)>), Func<(Of <(IAsyncResult, TResult>)>), Object)
Creates a Task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
FromAsync(IAsyncResult, Func<(Of <(IAsyncResult, TResult>)>), TaskCreationOptions)
Creates a Task that executes an end method function when a specified IAsyncResult completes.
FromAsync(Func<(Of <(AsyncCallback, Object, IAsyncResult>)>), Func<(Of <(IAsyncResult, TResult>)>), Object, TaskCreationOptions)
Creates a Task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
FromAsync<(Of <(TArg1>)>)(Func<(Of <(TArg1, AsyncCallback, Object, IAsyncResult>)>), Func<(Of <(IAsyncResult, TResult>)>), TArg1, Object)
Creates a Task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
FromAsync(IAsyncResult, Func<(Of <(IAsyncResult, TResult>)>), TaskCreationOptions, TaskScheduler)
Creates a Task that executes an end method function when a specified IAsyncResult completes.
FromAsync<(Of <(TArg1>)>)(Func<(Of <(TArg1, AsyncCallback, Object, IAsyncResult>)>), Func<(Of <(IAsyncResult, TResult>)>), TArg1, Object, TaskCreationOptions)
Creates a Task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
FromAsync<(Of <(TArg1, TArg2>)>)(Func<(Of <(TArg1, TArg2, AsyncCallback, Object, IAsyncResult>)>), Func<(Of <(IAsyncResult, TResult>)>), TArg1, TArg2, Object)
Creates a Task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
FromAsync<(Of <(TArg1, TArg2, TArg3>)>)(Func_<(Of <(TArg1, TArg2, TArg3, AsyncCallback, Object, IAsyncResult>)>), Func<(Of <(IAsyncResult, TResult>)>), TArg1, TArg2, TArg3, Object)
Creates a Task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
FromAsync<(Of <(TArg1, TArg2>)>)(Func<(Of <(TArg1, TArg2, AsyncCallback, Object, IAsyncResult>)>), Func<(Of <(IAsyncResult, TResult>)>), TArg1, TArg2, Object, TaskCreationOptions)
Creates a Task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
FromAsync<(Of <(TArg1, TArg2, TArg3>)>)(Func_<(Of <(TArg1, TArg2, TArg3, AsyncCallback, Object, IAsyncResult>)>), Func<(Of <(IAsyncResult, TResult>)>), TArg1, TArg2, TArg3, Object, TaskCreationOptions)
Creates a Task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.

See Also